package com.lbt.eduservice.client;

import com.lbt.commonuntils.R;
import org.springframework.stereotype.Component;

import java.util.List;
@Component
public class VodFileDegradeFeignClient implements VodClient {
    //对应方法失败 熔断之后会执行出错就会执行
    @Override
    public R removeVideoByID(String id) {
        return R.error().message("删除视频请求超时，过后重试");
    }

    @Override
    public R deleteBatch(List<String> videoIdList) {
        return R.error().message("删除多个视频请求超时，过后重试");
    }
}
